#include "Base.h"
#include "Point.h"
#include <iostream>
using std::cout;
using std::endl;


/**
 * 编写Base类使下列代码输出为1
 * @return
 */
void test0(){
    int i=2;
    int j=7;

    Base x(i);
    Base y(j);
    cout << (x+y == j - i) << endl;
}

void test1(){
    Point p1(1,2);
    Point p2(3,2);

//    cout << (p1 + p2).toString() << endl;

//    p1 += p2;
//    p1++;
    cout << (++p1).toString() << endl;
}


int main() {
    test0();
    return 0;
}
